package com.example.entity;

import java.io.Serializable;
import java.util.Date;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
 * <p>
 * 角色与菜单对应关系
 * </p>
 *
 * @author lilufeng
 * @since 2016-11-28
 */
@Table("sys_role_menu")
public class SysRoleMenu implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
    @Id
	private Long id;

	/**
	 * 角色ID
	 */
    @Column(value = "role_id")
	private Long roleId;

	/**
	 * 菜单ID
	 */
	@Column(value = "menu_id")
	private Long menuId;

	/**
	 * 创建时间
	 */
	@Column(value = "create_time")
	private Date createTime;

	/**
	 * 
	 */
	@Column(value = "update_time")
	private Date updateTime;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getMenuId() {
		return menuId;
	}

	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
